package com.pand.model.order;

import com.pand.model.BaseObject;

import javax.persistence.*;
import java.util.Date;

/**
 * 
 * @ClassName: OrderFlow
 * @Description:
 *
 */
@Entity
@Table(name = "BIZ_ORDER_FLOW")
@SequenceGenerator(name = "SEQ_ORDER_FLOW", sequenceName = "SEQ_ORDER_FLOW", allocationSize = 1)
public class OrderFlow extends BaseObject {

	/**
	 * 添加类成员变量的功能描述
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Long id;
	
	/**
	 * 订单号
	 */
	private String orderNo;
	
	/**
	 * 订单流水记录说明
	 */
	private String recordDecl;
	
	/**
	 * 操作人
	 */
	private String operator;
	
	/**
	 * 创建时间
	 */
	private Date createTime;

	@Id
	@GeneratedValue(generator = "SEQ_ORDER_FLOW")
	@Column(name = "ID")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "ORDERNO")
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@Column(name = "RECORDDECL")
	public String getRecordDecl() {
		return recordDecl;
	}

	public void setRecordDecl(String recordDecl) {
		this.recordDecl = recordDecl;
	}

	@Column(name = "OPERATOR")
	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	@Column(name = "CREATETIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
